home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / waldopc / install.exe / _SETUP.1 / WALDOPC.EXE / WALDOPC.DXR / 00248.ls < prev    next >
Encoding:
Text File  |  1996-06-11  |  547 b   |  27 lines

  1. on mouseUp
  2.   global gamewinnum, socwin, targetwin, rallywin
  3.   set gamewinnum to 0
  4.   if socwin = 1 then
  5.     set gamewinnum to gamewinnum + 1
  6.   end if
  7.   if targetwin = 1 then
  8.     set gamewinnum to gamewinnum + 1
  9.   end if
  10.   if rallywin = 1 then
  11.     set gamewinnum to gamewinnum + 1
  12.   end if
  13.   if gamewinnum = 0 then
  14.     puppetSound(0)
  15.     repeat with i = 6 to 17
  16.       puppetSprite(i, 0)
  17.     end repeat
  18.     go("mainfirst1")
  19.   else
  20.     puppetSound(0)
  21.     repeat with i = 6 to 17
  22.       puppetSprite(i, 0)
  23.     end repeat
  24.     go("mainmenu")
  25.   end if
  26. end
  27.